<!DOCTYPE html>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../assert_selection.js"></script>
<script>
selection_test(
    [
    '<div contenteditable="true">',
      '<table>',
        '<tr><td>',
          '<li></li>',
          '<li>|</li>',
        '</td></tr>',
      '</table>',
    '</div>'
    ],
    'Delete',
    [
    '<div contenteditable="true">',
      '<table>',
        '<tbody>',
          '<tr><td>',
            '<li>',
              '<br>|<br>',
            '</li>',
          '</td></tr>',
        '</tbody>',
      '</table>',
    '</div>'
    ],
    'Deleting last item in two element table list, should not delete the table.');
</script>

